package com.atmilan.quartz.model.dto.im;

import java.math.BigDecimal;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * im商品映射对象
 * @Description: 
 * @author daigb
 * @date 2021-04-29
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ImProductPushDTO {
    
    @ApiModelProperty(value = "商品唯一标识 货号+颜色级别")
    private String boutiqueId;
    
    @ApiModelProperty(value = "品牌官方颜色")
    private String colorCode;
    
    @ApiModelProperty(value = "品牌官方货号")
    private String designerId;
    
    @ApiModelProperty(value = "品牌名称")
    private String brandName;
    
    @ApiModelProperty(value = "一级类目")
    private String category1;
    
    @ApiModelProperty(value = "二级类目")
    private String category2;
    
    @ApiModelProperty(value = "三级类目")
    private String category3;
    
    @ApiModelProperty(value = "颜色描述")
    private String colorDescription;
    
    @ApiModelProperty(value = "成分")
    private String composition;
    
    @ApiModelProperty(value = "商品图片")
    private List<String> images;
    
    @ApiModelProperty(value = "产地")
    private String madeIn;
    
    @ApiModelProperty(value = "预售结束时间")
    private Long maxArrivalTime;
    
    @ApiModelProperty(value = "预售开始时间")
    private Long minArrivalTime;
    
    @ApiModelProperty(value = "商品描述")
    private String productDescription;
    
    @ApiModelProperty(value = "商品名称")
    private String productName;
    
    @ApiModelProperty(value = "季节")
    private String seasonCode;
    
    @ApiModelProperty(value = "国家尺码")
    private String sizeCountry;
    
    @ApiModelProperty(value = "尺寸参考")
    private String sizeFit;
    
    @ApiModelProperty(value = "sku")
    private List<SkuList> skuList;
    
    @Data
    public static class SkuList {
        
        @ApiModelProperty(value = "吊牌价")
        private BigDecimal retailPrice;
        
        @ApiModelProperty(value = "尺寸")
        private String size;
        
        @ApiModelProperty(value = "有效库存")
        private Integer stock;
        
        @ApiModelProperty(value = "Sku唯一标识")
        private String barcode;
        
        @ApiModelProperty(value = "成本价")
        private BigDecimal costPrice;
        
        @ApiModelProperty(value = "供货价")
        private BigDecimal supplyPrice;
        
    }
    
}
